#ifndef PYTABLESEXCEPTION_H_
#define PYTABLESEXCEPTION_H_

#include <string>

namespace pyt {
  class table_exception {
  public:
    table_exception(std::string desc) : _what(desc) {}    
    virtual ~table_exception() {}
    const char* what() {
    return _what.c_str();
    }
  private:
    std::string _what;
  };
}

#endif //PYTABLESEXCEPTION_H_

